package com.action.boot.mongo.mongo_template.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by Wuxiang on 2017/11/3.
 */
@Data
@AllArgsConstructor
@Document(collection = "test_bath_update")
public class TestBath {
    private String name;
    private String address;

    private String age;
    private String sex;

//    private List<TestList> testLists = new ArrayList<>();
}